package dataflowscheme.engine.core;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Future;

/**
 * Event to be processed by Execution Event Parser
 * 
 * @author <a href="mailto:misiak7@gmail.com">Michal Antolik</a>
 *
 */
public interface IExecutionEvent {

	/**
	 * When an object implementing interface <code>IExecutionEvent</code> is used 
     * to create an event to be processed and method 
     * <code>execute()</code> is to be called by Execution Event parser
	 */
	Future<?> execute(ExecutionEventParser executionEventParser, ExecutorService threadExecutor, boolean prinStats);
}
